class Person:

    __sex = '男'
    def __init__(self, name, age):
        self.name = name
        self.age = age
    def __eat(self):
        print("eat")
    def run(self):
        print(f"run{self.__sex}")
    def set_Sex(self,sex):
        self.__sex = sex
    def get_sex(self):
        print(f'{self.__sex}')

p1 = Person("sdf",12)
print(p1.name)
p1.set_Sex("male")
print(p1.run())
